MailPoet\Config\Initializer A

Total Complexity 67
Dependencies 53
Dependents 2
Total lines 575
Lines of code 345
Logical lines of code 191
Comment lines 61
Methods 33
Properties 35

Methods 33

Method Rating Maintainability Complexity Lines of code
maybeRedirectEditor()
S
54 6 19
init()
S
40 2 79
afterPluginActivation()
S
63 7 9
initialize()
S
49 4 34
maybeRunActivator()
S
57 5 17
setupUpdater()
S
59 4 14
postInitialize()
S
63 3 11
__construct()
S
47 1 36
setupWoocommerceBlocksIntegration()
S
69 3 7
setupWoocommerceTransactionalEmails()
S
67 3 8
runActivator()
S
64 3 10
preInitialize()
S
64 2 11
setupUserLocale()
S
72 2 5
handleRunningMigration()
S
71 2 6
handleFailedInitialization()
S
71 2 6
multisiteDropTables()
S
63 1 11
setupPermanentNotices()
S
82 1 3
setupDeactivationPoll()
S
75 1 4
runDeactivation()
S
82 1 3
setupEmailEditorIntegrations()
S
78 1 4
setupAutomaticEmails()
S
78 1 4
setupWidget()
S
81 1 3
setupPersonalDataErasers()
S
77 1 4
setupInstaller()
S
72 1 6
setupPrivacyPolicy()
S
77 1 4
setupPages()
S
75 1 4
setupConflictResolver()
S
77 1 4
setupCronTrigger()
S
80 1 3
setupImages()
S
80 1 3
setupShortcodes()
S
82 1 3
setupCapabilities()
S
76 1 4
setupLocalizer()
S
81 1 3
setupPersonalDataExporters()
S
82 1 3